package com.Vclub.web;

import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;

public class MyBackbean {
	public boolean isLoggedIn() {
		HttpSession session = (HttpSession) FacesContext.getCurrentInstance()
				.getExternalContext().getSession(true);
		return session.getAttribute("loggedUser") != null;
	}
}
